#!/bin/bash

/etc/init.d/tftpd-hpa restart
/etc/init.d/dhcp3-server restart
/etc/init.d/samba restart


cat > /etc/init.d/servicos.sh << EOF
/etc/init.d/tftpd-hpa start
/etc/init.d/dhcp3-server start
/etc/init.d/samba start

EOF
chmod 777 /etc/init.d/servicos.sh
update-rc.d servicos.sh defaults


